home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programmierung
/
Power-Programmierung (Tewi)(1994).iso
/
magazine
/
drdobbs
/
1991
/
05
/
d_flat
/
makefile
< prev
next >
Wrap
Makefile
|
1991-03-13
|
1KB
|
43 lines
#------------------------------------------------
# Comment out the MSC macro to compile with Turbo C
#------------------------------------------------
MSC = 1
!if $(MSC)
#------------------------------------------------
# Microsoft C 6.0
#------------------------------------------------
MODEL = L
COMPILE = cl /DMSC /c /W4 /Gs /A$(MODEL)
LINK = link
!else
#------------------------------------------------
# Turbo C 2.0 or greater
#------------------------------------------------
DEBUG = -v
DRIVE = c
MODEL = l
COMPILE = tcc $(DEBUG) -c -m$(MODEL)
LINK= tlink /m /v $(DRIVE):\tc\lib\c0$(MODEL)
LIBS= $(DRIVE):\tc\lib\c$(MODEL)
!endif
.c.obj:
$(COMPILE) $*.c
memopad.exe : memopad.obj window.obj video.obj message.obj \
mouse.obj console.obj textbox.obj listbox.obj \
normal.obj config.obj menu.obj menubar.obj popdown.obj \
classdef.obj rect.obj applicat.obj keys.obj sysmenu.obj \
menus.obj editbox.obj dialogs.obj dialbox.obj button.obj \
fileopen.obj msgbox.obj help.obj
!if $(MSC)
$(LINK) memopad @memopad.lnk,$*,$*;
!else
$(LINK) memopad @memopad.lnk,$*.exe,$*,$(LIBS)
!endif